package io.p2p.stream.stun.util;

import java.util.Random;

public class RandomUtil {
    public static int getRandomNumber(int min,int max){
        Random random = new Random();
        return random.nextInt(max - min + 1) + min;
    }

    public static long getRandomLongNumber(){
        Random random = new Random();
        return random.nextLong();
    }
}
